package com.zhuss.meeting.db.dao.ext;

import com.zhuss.bean.bo.meeting.room.GetSituationBo;
import com.zhuss.bean.vo.meeting.apply.ListSituationVo;
import com.zhuss.bean.vo.meeting.time.ListRoomTimeVo;
import com.zhuss.meeting.db.dao.gen.MeetingRoomTimeMapper;
import com.zhuss.meeting.db.entity.MeetingRoomTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: zhushanshuo
 * @Date: 2020/2/28 8:57
 */
@Mapper
public interface MeetingRoomTimeDao extends MeetingRoomTimeMapper {

    void create(MeetingRoomTime record);

    void delete(MeetingRoomTime record);

    List<ListRoomTimeVo> listSituation(GetSituationBo bo);

    int countListSituation(@Param("area") Integer area);
}
